<template>
  <Demo @hello="f1" school="广州新华学院">
    <template v-slot:dyh>
      <span>戴莹慧</span>
    </template>
  </Demo>
</template>

<script>
import Demo from "./components/Demo.vue";
export default {
  name: "App",
  components: { Demo },
  setup() {
    function f1(value) {
      console.log(`你好啊 ${value}`);
    }
    return {
      f1,
    };
  },
};
</script>

<style>
</style>
